package cn.jobstart.modelDesc;

import lombok.Data;
import cn.jobstart.model.Company;


import cn.jobstart.enums.CompanyShowFlagEnum;
import cn.jobstart.enums.CompanyDelFlagEnum;
import cn.jobstart.enums.CompanyNatureEnum;
import cn.jobstart.enums.CompanyScaleEnum;
import cn.jobstart.enums.CompanyEsFlagEnum;

/**
*    @author sunke
*    @Date 2023-09-22 22:03:51
*    @description CompanyDesc      企业
*/
@Data
public class CompanyDesc extends Company {


    private String showFlagDesc;
    private String delFlagDesc;
    private String natureDesc;
    private String scaleDesc;
    private String esFlagDesc;

    public String getShowFlagDesc() {
        showFlagDesc=CompanyShowFlagEnum.getDescByType(getShowFlag());
        return showFlagDesc;
    }
    public String getDelFlagDesc() {
        delFlagDesc=CompanyDelFlagEnum.getDescByType(getDelFlag());
        return delFlagDesc;
    }
    public String getNatureDesc() {
        natureDesc=CompanyNatureEnum.getDescByType(getNature());
        return natureDesc;
    }
    public String getScaleDesc() {
        scaleDesc=CompanyScaleEnum.getDescByType(getScale());
        return scaleDesc;
    }
    public String getEsFlagDesc() {
        esFlagDesc=CompanyEsFlagEnum.getDescByType(getEsFlag());
        return esFlagDesc;
    }
}

